Digital Search Trees Revisited

نویسندگان

  • Philippe Flajolet
  • Robert Sedgewick
چکیده

Several algorithms have been proposed which build search trees using digital properties of the search keys. A general approach to the study of the average case performance of such algorithms is discussed, with particular attention to the analysis of the digital search tree structures of Coffman and Eve. Specifically, the method leads to the solution of a problem left open by Knuth, finding the average number of nodes in digital search trees with both sons null. The paper may be of interest as a survey and tutorial treatment of the analysis of the three primary digital tree search methods: digital search trees, radix search tries, and Patricia tries. 1. Introduction. A fundamental problem in computer science is the so-called dictionary problem, where various operations, chiefly search and insert, are to be performed on a set of records possessing key values. To insert a record is to store it away for later retrieval; to search is to find a previously stored record with a given key value. The binary search tree is an elementary data structure for solving this

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Probabilistic analysis of the asymmetric digital search trees

In this paper, by applying three functional operators the previous results on the (Poisson) variance of the external profile in digital search trees will be improved. We study the profile built over $n$ binary strings generated by a memoryless source with unequal probabilities of symbols and use a combinatorial approach for studying the Poissonized variance, since the probability distribution o...

متن کامل

Digital Search Trees Again Revisited: The Internal Path Length Perspective

This paper studies the asymptotics of the variance fOf the internal path length in a. symmetric digital search tree. The problem was open up to now. We prove that COf the binary digital search tree the variance is asymptolically equal 10 0.26600 ... · N + N6(1og2 N) where N is the number of stored records and 6(:z:) is a. periodic function of mean zero and a very small amplitude. This result im...

متن کامل

On Digital Search Trees - A Simple Method for Constructing Balanced Binary Trees

This paper presents digital search trees, a binary tree data structure that can produce well-balanced trees in the majority of cases. Digital search tree algorithms are reviewed, and a novel algorithm for building sorted trees is introduced. It was found that digital search trees are simple to implement because their code is similar to the code for ordinary binary search trees. Experimental eva...

متن کامل

The Wiener Index of Random Digital Trees

The Wiener index has been studied for simply generated random trees, non-plane unlabeled random trees and a huge subclass of random grid trees containing random binary search trees, random medianof-(2k+ 1) search trees, random m-ary search trees, random quadtrees, random simplex trees, etc. An important class of random grid trees for which the Wiener index was not studied so far are random digi...

متن کامل

Shedding new light on random trees

We introduce a weighted model of random trees and analyze the asymptotic properties of their heights. Our framework encompasses most trees of logarithmic height that were introduced in the context of the analysis of algorithms or combinatorics. This allows us to state a sort of“master theorem”for the height of random trees, that covers binary search trees (Devroye, 1986), random recursive trees...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • SIAM J. Comput.

دوره 15  شماره 

صفحات  -

تاریخ انتشار 1986